#include <stdio.h>
#include <stdlib.h>

register int eax asm("eax");
register int ebx asm("ebx");
register int edx asm("edx");

char msg[] = "{{ description }}";

void print_msg() {
  printf("%s", msg);
}

int complex_function_1(int input) {
{{ complex_function_1 }}
  return input;
}

int complex_function_2(int input) {
{{ complex_function_2 }}
  return input;
}

int complex_function_3(int input) {
{{ complex_function_3 }}
  return input;
}

void get_user_input() {
  int first, second, third;
  scanf("%x %x %x", &first, &second, &third);
  eax = first;
  ebx = second;
  edx = third;
}

int main(int argc, char* argv[]) {
  //print_msg();
  printf("Enter the password: ");
  get_user_input();
  int non_eax = eax;
  int non_ebx = ebx;
  int non_edx = edx;
  non_eax = complex_function_1(non_eax);
  non_ebx = complex_function_2(non_ebx);
  non_edx = complex_function_3(non_edx);

  if (non_eax || non_ebx || non_edx) {
    printf("Try again.\n");
  } else {
    printf("Good Job.\n");
  }

  return 0;
}
